import { createI18n } from "vue-i18n";
import zhCnLocale from '@/lang/package/zh-cn';
import enLocale from '@/lang/package/en';
const messages = {
    zh: {
        ...zhCnLocale,
    },
    en: {
        ...enLocale,
    },
};
  
const i18n = createI18n({
    legacy: false,
    locale: 'zh',
    messages: messages,
    globalInjection: true,
});

export default i18n